package chapter13;

public class StringOperation {
	public static void main(String args[]){
		String a="a";
		String bNew=new String("b");
		String aIntern=a.intern();
		String bNewToIntern=bNew.intern();
		String bIntern="b";
		System.out.println(a==aIntern);
		System.out.println(bIntern==bNewToIntern);
		System.out.format("%s", aIntern);
	}

}
